package com.crm.service;

import com.crm.constant.dto.BaseFxResponse;
import com.crm.entity.CrmArticle;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.entity.CrmSite;
import com.crm.model.bo.ArticlePageBo;
import com.crm.model.dto.BasePageResult;

/**
 * <p>
 * CRM-文章表 服务类
 * </p>
 *
 * @author CRM_SYSTEM
 * @since 2022-03-30
 */
public interface ICrmArticleService extends IService<CrmArticle> {

    BaseFxResponse<Long> saveArticle(CrmArticle article);

    BaseFxResponse<CrmArticle> queryById(Long id);

    BaseFxResponse<Long> updateArticle(CrmArticle article);

    BaseFxResponse<Boolean> deleteByArticleId(Long id);

    BaseFxResponse<BasePageResult<CrmArticle>> queryPage(ArticlePageBo articlePageBo);
}
